Optimal. Leaf size=53 \[ -\frac {a^2 A}{7 x^7}-\frac {a (2 A b+a B)}{5 x^5}-\frac {b (A b+2 a B)}{3 x^3}-\frac {b^2 B}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 53, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {459}
\begin {gather*} -\frac {a^2 A}{7 x^7}-\frac {a (a B+2 A b)}{5 x^5}-\frac {b (2 a B+A b)}{3 x^3}-\frac {b^2 B}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 459
Rubi steps
\begin {align*} \int \frac {\left (a+b x^2\right )^2 \left (A+B x^2\right )}{x^8} \, dx &=\int \left (\frac {a^2 A}{x^8}+\frac {a (2 A b+a B)}{x^6}+\frac {b (A b+2 a B)}{x^4}+\frac {b^2 B}{x^2}\right ) \, dx\\ &=-\frac {a^2 A}{7 x^7}-\frac {a (2 A b+a B)}{5 x^5}-\frac {b (A b+2 a B)}{3 x^3}-\frac {b^2 B}{x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 56, normalized size = 1.06 \begin {gather*} -\frac {35 b^2 x^4 \left (A+3 B x^2\right )+14 a b x^2 \left (3 A+5 B x^2\right )+3 a^2 \left (5 A+7 B x^2\right )}{105 x^7} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 48, normalized size = 0.91
method | result | size |
default | \(-\frac {a^{2} A}{7 x^{7}}-\frac {a \left (2 A b +B a \right )}{5 x^{5}}-\frac {b \left (A b +2 B a \right )}{3 x^{3}}-\frac {b^{2} B}{x}\) | \(48\) |
norman | \(\frac {-b^{2} B \,x^{6}+\left (-\frac {1}{3} b^{2} A -\frac {2}{3} a b B \right ) x^{4}+\left (-\frac {2}{5} a b A -\frac {1}{5} a^{2} B \right ) x^{2}-\frac {a^{2} A}{7}}{x^{7}}\) | \(53\) |
risch | \(\frac {-b^{2} B \,x^{6}+\left (-\frac {1}{3} b^{2} A -\frac {2}{3} a b B \right ) x^{4}+\left (-\frac {2}{5} a b A -\frac {1}{5} a^{2} B \right ) x^{2}-\frac {a^{2} A}{7}}{x^{7}}\) | \(53\) |
gosper | \(-\frac {105 b^{2} B \,x^{6}+35 A \,b^{2} x^{4}+70 B a b \,x^{4}+42 a A b \,x^{2}+21 B \,a^{2} x^{2}+15 a^{2} A}{105 x^{7}}\) | \(56\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 53, normalized size = 1.00 \begin {gather*} -\frac {105 \, B b^{2} x^{6} + 35 \, {\left (2 \, B a b + A b^{2}\right )} x^{4} + 15 \, A a^{2} + 21 \, {\left (B a^{2} + 2 \, A a b\right )} x^{2}}{105 \, x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.72, size = 53, normalized size = 1.00 \begin {gather*} -\frac {105 \, B b^{2} x^{6} + 35 \, {\left (2 \, B a b + A b^{2}\right )} x^{4} + 15 \, A a^{2} + 21 \, {\left (B a^{2} + 2 \, A a b\right )} x^{2}}{105 \, x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.57, size = 58, normalized size = 1.09 \begin {gather*} \frac {- 15 A a^{2} - 105 B b^{2} x^{6} + x^{4} \left (- 35 A b^{2} - 70 B a b\right ) + x^{2} \left (- 42 A a b - 21 B a^{2}\right )}{105 x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.21, size = 55, normalized size = 1.04 \begin {gather*} -\frac {105 \, B b^{2} x^{6} + 70 \, B a b x^{4} + 35 \, A b^{2} x^{4} + 21 \, B a^{2} x^{2} + 42 \, A a b x^{2} + 15 \, A a^{2}}{105 \, x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.02, size = 52, normalized size = 0.98 \begin {gather*} -\frac {x^2\,\left (\frac {B\,a^2}{5}+\frac {2\,A\,b\,a}{5}\right )+x^4\,\left (\frac {A\,b^2}{3}+\frac {2\,B\,a\,b}{3}\right )+\frac {A\,a^2}{7}+B\,b^2\,x^6}{x^7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________